/*
  Copyright 2009 Smart Enterprise Solution Corp.
  Email: contact@ses.vn - Website: http://www.ses.vn
  KimNgan Project.
*/
using System;
using System.Data;
using System.Configuration;
using System.Collections;

using FITHOU.DAL;
using FITHOU.DO;
/// <summary>
/// Summary description for tbl_TuDienBL
/// </summary>
namespace FITHOU.BL
{
    public class tbl_TuDienBL
    {
        #region Private Variables
        tbl_TuDienDAL objtbl_TuDienDAL;
        #endregion

        #region Public Constructors
        public tbl_TuDienBL()
        {
            //
            // TODO: Add constructor logic here
            //
            objtbl_TuDienDAL = new tbl_TuDienDAL();
        }
        #endregion

        #region Public Methods
        public int Insert(tbl_TuDienDO objtbl_TuDienDO)
        {
            return objtbl_TuDienDAL.Insert(objtbl_TuDienDO);
        }

        public int Update(tbl_TuDienDO objtbl_TuDienDO)
        {
            return objtbl_TuDienDAL.Update(objtbl_TuDienDO);

        }

        public int Delete(tbl_TuDienDO objtbl_TuDienDO)
        {
            return objtbl_TuDienDAL.Delete(objtbl_TuDienDO);

        }

        public int DeleteAll()
        {
            return objtbl_TuDienDAL.DeleteAll();
        }

        public tbl_TuDienDO Select(tbl_TuDienDO objtbl_TuDienDO)
        {
            return objtbl_TuDienDAL.Select(objtbl_TuDienDO);
        }

        public tbl_TuDienDO Select(int id)
        {
            return objtbl_TuDienDAL.Select(id);
        }
        public tbl_TuDienDO SelectByTA(string ta)
        {
            return objtbl_TuDienDAL.SelectByTA(ta);
        }

        public tbl_TuDienDO SelectByTV(string ta)
        {
            return objtbl_TuDienDAL.SelectByTV(ta);
        }

        public tbl_TuDienDO getTop()
        {
            return objtbl_TuDienDAL.getTop();
        }

        public tbl_TuDienDO SelectTA(tbl_TuDienDO objtbl_TuDienDO)
        {
            return objtbl_TuDienDAL.SelectTA(objtbl_TuDienDO);
        }

        public tbl_TuDienDO SelectTV(tbl_TuDienDO objtbl_TuDienDO)
        {
            return objtbl_TuDienDAL.SelectTV(objtbl_TuDienDO);
        }

        public ArrayList SelectAll1()
        {
            return objtbl_TuDienDAL.SelectAll1();
        }

        public DataTable SelectAll()
        {
            return objtbl_TuDienDAL.SelectAll();
        }

        public tbl_TuDienDO SelectRandom()
        {
            return objtbl_TuDienDAL.SelectRandom();
        }

        public DataTable SelectRandomDA(tbl_TuDienDO objtbl_TuDienDO)
        {
            return objtbl_TuDienDAL.SelectRandomDA(objtbl_TuDienDO);
        }

        public DataTable SelectRandom4DA(tbl_TuDienDO objtbl_TuDienDO)
        {
            return objtbl_TuDienDAL.SelectRandom4DA(objtbl_TuDienDO);
        }
        #endregion

    }

}
